<script>
	export default {
		onShow: function() {
		},
		onHide: function() {
			console.log('App Hide')
		},

		onLaunch() {
			// 展示本地存储能力
			const logs = wx.getStorageSync('logs') || []
			logs.unshift(Date.now())
			wx.setStorageSync('logs', logs)
		
			// 登录
			wx.login({
			  success: res => {
				// 发送 res.code 到后台换取 openId, sessionKey, unionId
			  }
			})
		},

	}
</script>

<style>
	/*每个页面公共css */
	/**app.wxss**/
	.container {
	  height: 100%;
	  display: flex;
	  flex-direction: column;
	  align-items: center;
	  justify-content: space-between;
	  padding: 200rpx 0;
	  box-sizing: border-box;
	} 
	
	.van-dialog__header {
	  padding: 12px 12px !important;
	  text-align: left !important;
	}
	
	.van-cell {
	  font-size: 12px !important;
	  padding: 4px 10px !important;
	}
	.van-cell__value {
    /* display: flex;
		align-items: center;
    justify-content: flex-end; */
	}
</style>
